
  <div class="context">
      <form method="get" action="<?php echo $this->Html->url(array('controller'=> 'default','action'=>'search')); ?>" name="frmSearch" id="frmSearch" class="frmSearch">
        <span class="searchBox">
        <input type="text" value="Tìm kiếm" id="txtSearch" name="q" />
        <a href="javascript:void();" id="quick-search-submit" title="Search">&nbsp;</a> </span> <a href="javascript:void();" title="Tìm kiếm nâng cao" class="linkSearch">Tìm kiếm nâng cao</a>
        <input type="hidden" value="001897934961332779774:ysd417-tqpk" name="cx" />
        <input type="hidden" value="FORID:10" name="cof">
        <input type="hidden" value="UTF-8" name="ie">
      </form>
    <!--frmSearch-->
    <div class="titlePage">
      <h2><?php echo $this->Html->image('dummy.gif', array('class'=>'uiIcon24 initIcon24-7', 'alt'=>'Liên hệ')); ?><span>Liên hệ</span></h2>
    </div>
    <!--titlePage-->
        <?php
            if(isset($best_buy_product[0])):
            $total_product =   sizeof($best_buy_product);
        ?>
        <!--Mach nho-->
        <div class="blockProSell">
          <h3>Sản phẩm bán chạy</h3>
          <ul>
            <?php
                $i = 1;
            foreach($best_buy_product AS $row):
                $class_css  =   '';
                if($i == $total_product){
                    $class_css  =   ' class="last"';
                }
            ?>
            <li<?php echo $class_css; ?>> <a href="<?php echo $this->Html->url(array('controller'=>'gio-trai-cay', 'action'=>'chi-tiet-gio-trai-cay', "{$row['Basket']['id']}-{$row['Basket']['alias']}")); ?>" title="<?php echo $row['Basket']['title']; ?>">
            <?php echo $this->Html->image($basket_image_thumb_url_path . $row['Basket']['images_small'], array('alt'=>$row['Basket']['title'])); ?>
            <span><?php echo $row['Basket']['title']; ?></span> </a> </li>
            <?php
                $i++;
            endforeach; ?>
          </ul>
        </div>
        <!--blockProSell-->
        <?php endif; ?>
  </div>
  <!--end context-->
  <div class="content">
    <ul class="breadcrumb">
        <li class="first">Thành viên</li>
        <li>Cập nhật thông tin cá nhân</li>
    </ul>
    <!--breadcrumb-->
    <?php echo $this->Session->flash('msg'); ?>
    <div class="registerPage">
      <?php echo $this->Form->create('User', array('name'=>'frmUpdateProfile', 'id'=>'frmUpdateProfile','class'=>'frmContact','url'=> array('controller'=>'users', 'action'=>'update_profile'))); ?>
        <ul>
          <li>
            <label for="txtUsername">Username: </label>
            <?php echo $user_info['username']; ?>
          </li>
          <li>
            <label for="txtEmail">Email:<strong>*</strong></label>
             <?php echo $user_info['email']; ?>
          </li>
          <li>
            <label for="txtName">Họ tên:</label>
            <?php echo $this->Form->input('name', array('div'=> false,'class'=>'jsrequire','id'=>'txtName', 'label'=> false, 'value'=>$user_info['name'])); ?>

          </li>

          <li>
            <label for="txtPhone">Điện thoại:</label>
            <?php echo $this->Form->input('phone', array('value'=>$user_info['phone'],'div'=> false,'id'=>'txtPhone', 'label'=> false)); ?>
          </li>
          <li>
            <label for="txtAddress">Địa chỉ:</label>
            <?php echo $this->Form->input('address', array('value'=>$user_info['address'],'div'=> false,'id'=>'txtAddress', 'label'=> false)); ?>
          </li>

        </ul>
        <ul class="listBtn">
          <li><a href="javascript:void(0);" title="Gửi đi" class="btn btnType-1 submit"><span><span>Gửi đi</span></span></a></li>
          <li><a href="javascript:void(0);" title="Xóa bỏ" class="btn btnType-1 reset"><span><span>Xóa bỏ</span></span></a></li>
        </ul>
      <?php echo $this->Form->end(); ?>

      <!--frmContact-->
    </div>
    <!--end contactPage-->
  </div>
  <!--end content-->

